<template>
	<view class="list safe-bottom-distance">
		<view class="list-item box-container" v-for="item in list">
			<view class="specimen-info">
				<view class="specimen-no">
					
				</view>
				<view class="specimen-name">
					
				</view>
			</view>
			<view class="unlink">
				<image src="https://pic.kanglailab.com/common/jiebang.png" mode="widthFix"></image>
			</view>
		<view>
	</view>
</template>

<script setup>
	import {ref} from "vue"
	import {onLoad} from "@dcloudio/uni-app"
	const list = ref([
		{boxNo:"123123",boxName:"标本箱"},
		{boxNo:"7879"}
	])
	const params = {
		pageNo:1,
		pageSize:10
	}
	let totalPage = 0
	const getData = async function(){
		const {data} = await SpecimenApi(params)
		list.value = params.pageNo==1?(data.list||[]):unref(list).concat(data.list)
		totalPage = data.totalPage
	}
	
	onLoad(()=>{
		// getData()
	})
		
	
</script>

<style lang="scss">
	.list{
		.list-item{
			display: flex;
			box-sizing: border-box;
		}
	}
</style>